/**
 * Created by maple on 2016/6/10.
 */
var express = require('express');
var router = express.Router();
var lackChar = require('../public/lackChar');


router.use('/', function (req, res) {
    var id = req.param('id');
    if (id == undefined || id == null) {
        var result = {
            status: 0,
            data: null,
            info: '请输入页码'
        };
        res.send(result);
    }
    else {
        lackChar(id, function (result) {
            res.send(result);
        });
    }

})

module.exports = router;